package com.example.membership.service;
import com.example.membership.model.Order;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

public interface OrderService {
    void createOrder(Order order);
    void updateOrder(Order order);
    void deleteOrder(int id);
    @Transactional
    List<Order> getAllOrders(); // 获取所有订单
}